package com.easylinkin.linkappapi.devicemanager.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.common.model.RequestModel;
import com.easylinkin.linkappapi.devicemanager.entity.DeviceUnit;
import com.easylinkin.linkappapi.devicemanager.entity.WireropeEntity;
import com.easylinkin.linkappapi.devicemanager.entity.WireropeTitleEntity;
import com.easylinkin.linkappapi.devicemanager.vo.WireropeVo;

import java.util.List;
import java.util.Map;

/**
 * @author linWenLe
 * @Date: 2024/3/27
 * @Description:
 */
public interface WireropeService extends IService<WireropeEntity> {

    WireropeTitleEntity getWireropeInfo(String deviceId);

    Map<String,Object> getWireropeList(WireropeVo entity);

    IPage<WireropeEntity> getHistoryAlertList(RequestModel<WireropeVo> restPage);

    List<DeviceUnit> deviceList();
}
